<?php


namespace app\admin\Validate\ad;


use app\common\BaseValidate;

/**
 * 添加广告验证器
 * Class AddAdValidate
 * @package app\admin\Validate\ad
 */
class AddAdValidate extends BaseValidate
{
    protected $rule = [
        'ad_url' => 'require',
        'ad_title' => 'require',
        'ad_email' => 'require',
        'ad_image' => 'require',
        'remarks' => 'min:1',
        'px' => 'require',
    ];
}